package com.bjpowerrnode.javase.interger;
import java.util.*;
public class Test10 {
    public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);

        while(sc.hasNext()) {


            String str1 = sc.nextLine();
            Long a = (long) Long.parseLong(str1);


            String str2 = sc.nextLine();
            long b = (long) Long.parseLong(str2);

            System.out.println(a + b);
        }





    }
}
